package com.example.recruitment_website.service;

import com.example.recruitment_website.domain.Wine;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface WineService {

    Page<Wine> findAll(Pageable pageable);
    Page<Wine> findAllBySort(PageRequest pageRequest, String sort);
    Page<Wine> findByKey(PageRequest pageRequest, String key);
}
